|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is the receiver's view of an MTP.
| Inner Class Summary | |
static interface |
InChannel.Dispatcher
Callback interface to be notified of message arrivals over this Message Transport Protocol. |
| Method Summary | |
TransportAddress |
activate(InChannel.Dispatcher disp)
Activates an MTP handler for incoming messages on a default address. |
void |
activate(InChannel.Dispatcher disp,
TransportAddress ta)
Activates an MTP handler for incoming messages on a specific address. |
void |
deactivate()
Deactivates all the MTP handlers. |
void |
deactivate(TransportAddress ta)
Deactivates the MTP handler listening at a given transport address. |
| Method Detail |
public TransportAddress activate(InChannel.Dispatcher disp)
throws MTPException
TransportAddress, corresponding to the
chosen default address.
public void activate(InChannel.Dispatcher disp,
TransportAddress ta)
throws MTPException
ta - A TransportAddress object, representing
the transport address to listen to.
public void deactivate(TransportAddress ta)
throws MTPException
ta - The TransportAddress object the handle to
close is listening to.
public void deactivate()
throws MTPException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||